home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / Paint Shop Pro / PSP900enTR.exe / Data1.cab / _A2C70A7E9EC040B9B6144949EB609347 < prev    next >
Encoding:
Text File  |  2004-08-16  |  1.3 KB  |  41 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Jasc Software, Inc.',
  6.         'Copyright': u'Copyright (c) 2004 Jasc Software, Inc.  All rights reserved.',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro 9',
  9.         'Host Version': u'9.00'
  10.         }
  11.  
  12. def Preset_DisplacementMap():
  13.     return {
  14.         'Smoothness': 0, 
  15.         'EdgeMode': App.Constants.EdgeMode.Background, 
  16.         'DisplacementMethod': App.Constants.DisplacementMethod.Offset2D, 
  17.         'DisplacementLayout': App.Constants.DisplacementLayout.Tile, 
  18.         'DisplacementMapType': App.Constants.DisplacementMapType.Preset, 
  19.         'Scale': 50, 
  20.         'Rotation': 0, 
  21.         'FileName': u'Burnout.jpg', 
  22.         'Tile scale': 110, 
  23.         'BackgroundColor': (0,0,0), 
  24.         'Category': u'', 
  25.         'GeneralSettings': {
  26.             'ExecutionMode': App.Constants.ExecutionMode.Default, 
  27.             'DialogPlacement': {
  28.                 'ShowMaximized': False, 
  29.                 'Rect': ((217,7), 399, 545)
  30.                 }, 
  31.             'PreviewVisible': True, 
  32.             'AutoProof': False, 
  33.             'AutoActionMode': App.Constants.AutoActionMode.Match
  34.             }
  35.         }
  36.  
  37. def Do(Environment):
  38.     # DisplacementMap
  39.     App.Do( Environment, 'DisplacementMap',         Preset_DisplacementMap())
  40.  
  41.